package com.mzj.saas.mservice.backlog.repository;

import com.mzj.saas.mservice.backlog.entity.BacklogItemRent;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

import java.util.List;

public interface BacklogItemRentRepository extends PagingAndSortingRepository<BacklogItemRent, Long>, JpaSpecificationExecutor<BacklogItemRent> {
    BacklogItemRent findByBacklogItemId(Long backlogItemId);

    BacklogItemRent findByApplyId(Long applyId);
    
    List<BacklogItemRent> findByBacklogItemIdIn(List<Long> backlogItemIds);
}
